ElasticPress\Feature\RelatedPosts\RelatedPosts S

Total Complexity 29
Dependencies 3
Dependents 1
Total lines 344
Lines of code 195
Logical lines of code 74
Comment lines 109
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
formatted_args()
A
48 9 32
render_block()
S
50 5 29
output_endpoint()
S
48 4 31
register_block()
S
46 3 43
setup_endpoint()
S
55 1 22
find_related()
S
68 2 7
__construct()
S
66 1 8
get_related_query()
S
65 1 9
setup()
S
69 1 6
register_widget()
S
80 1 3
output_feature_box_long()
S
74 1 5